import os, sys, argparse, glob, subprocess
from argparse import RawTextHelpFormatter
from multiprocessing  import Pool
from Utility.Tools import ProgressBar

APP_DIR=os.path.split(os.path.abspath(__file__))[0]

if __name__ == "__main__":
    description=""
    epilog=""
    parser = argparse.ArgumentParser(description=description, epilog=epilog, formatter_class=RawTextHelpFormatter)
    parser.add_argument('-f', '--file', dest='fn', help='input file name.', required =True)
    parser.add_argument('-o', '--output', dest='fnOut', help='output file name.', default='output.txt')
    parser.add_argument('-r', '--repeat', dest='repeat', help='xxx.', default=3, type= int)
    op= parser.parse_args()
    xx( op.fn, op.fnOut, op.repeat)

